<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!-- 引入标签库-->
<%@ include file="/pages/inc/taglibs.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>公文信息</title>
<%@ include file="/pages/inc/header.jsp" %>
<script type="text/javascript">
<%@ include file="/pages/jsp/commom/officeCommon.js" %>
<%@ include file="/pages/jsp/commom/openOffice.js" %>
<%@ include file="/pages/jsp/docReceive/viewReceiveDocument.js" %>
</script>
</head>
<body>
<div class="main">
	<table class="inputTable">
		<!-- height:100%;
		<caption>公文信息</caption>
		 -->
		<tr>
			<td class="staticTd">文号标题：</td>
			<td class="dynamicTd" colspan="5">
				<input id="docTitle" name="docTitle" class="easyui-textbox" readonly="readonly" style="width: 87%;" type="text" value="<c:out value='${dtDocument.docTitle}' />"/>
			</td>
		</tr>
		<tr>
			<td class="staticTd">来文编号：</td>
			<td class="dynamicTd">
				<input name="docNumber" class="easyui-textbox" readonly="readonly" type="text" value="<c:out value='${dtDocument.docNumber}' />"/>
			</td>
			<td class="staticTd">来文单位：</td>
			<td class="dynamicTd">
				<input name="docDispatchorg" class="easyui-textbox" readonly="readonly" type="text" value="<c:out value='${dtDocument.docDispatchorg}' />"/>
			</td>
		</tr>
		<tr>
			<td class="staticTd">允许打印份数：</td>
			<td class="dynamicTd">
				<input name="docPrintSum" class="easyui-textbox" readonly="readonly" type="text" value="<c:out value='${dtDocument.docPrintSum}' />"/>
			</td>
			<td class="staticTd">收文日期：</td>
			<td class="dynamicTd">
				<input name="docCreateDate" id="docCreateDate" class="easyui-textbox" readonly="readonly" type="text" value="<fmt:formatDate value="${dtDocument.docCreateDate}" pattern="yyyy-MM-dd" />"/>
			</td>
		</tr>
		<tr>
			<td class="staticTd">缓急：</td>
			<td class="dynamicTd">
				<input name="docUrgency" class="easyui-textbox" readonly="readonly" type="text" value="<c:out value='${dtDocument.docUrgency}' />"/>
				<input name="docSecretLevel"  type="hidden" value="<c:out value='${dtDocument.docSecretLevel}' />"/>
			</td>
			<%--<td class="staticTd">密级：</td>
			 <td class="dynamicTd">
				<input name="docSecretLevel" class="easyui-textbox" readonly="readonly" type="text" value="<c:out value='${dtDocument.docSecretLevel}' />"/>
			</td>
		</tr>
		<tr> --%>
			<td class="staticTd">附注：</td>
			<td class="dynamicTd">
				<input name="docMemo" class="easyui-textbox" readonly="readonly" type="text" value="<c:out value='${dtDocument.docMemo}' />"/>
			</td>
		</tr>
		<tr>
			<td class="staticTd">正文：</td>
			<td class="dynamicTd" colspan="5">
				<input type="hidden" name="docUuid" id="docUuid" value="<c:out value='${dtDocument.docUuid}' />">
				<a onclick="showDocDocument()" class="easyui-linkbutton" plain="true" href="javascript:void(0)">查看正文</a>
				<a onclick="downloadOfficeFile()" class="easyui-linkbutton" plain="true" download="" href="javascript:void(0)">下载正文</a>
			</td>
		</tr>
		<tr>
			<td class="staticTd">办文详情：</td>
			<td>
				<a onclick="DoArticleDetails('<c:out value="${docReceiveUuid}" />')" href="javascript:void(0)">查看办文详情</a>
			</td>
		</tr>
		<tr>
			<td class="staticTd">附件：</td>
			<td class="dynamicTd" colspan="5">
	          	<div class="leftFloat">
	            	<ol id="fileUploadFileList" class="fileList">
	            		<c:forEach var="docFileList" items="${fileList}" varStatus="eachInfo">	            			
	            			<li class="oldFile" synAttachId="<c:out value='${docFileList.attachId}'/>">
	            				<c:out value='${docFileList.attachName}${docFileList.suffixName }' />
	            				<!--下载按钮  -->
	            				<a class="downloadAttach pointer attachImg" onclick="fileUploadDownloadDocAttach(this,'<c:out value="${docFileList.attachId }" />','<c:out value="${docFileList.suffixName }" />','<c:out value="${docFileList.attachName }" />')"></a>
	            			</li>
	            		</c:forEach>
	            	</ol>
		   	 	</div>
			</td>
		</tr>
	</table>
</div>
</body>
</html>